home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 February
/
EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso
/
earcd
/
comm2
/
stats_10.lha
/
BBSstats.rexx
next >
Wrap
OS/2 REXX Batch file
|
1996-01-01
|
831b
|
53 lines
/*
Mailstats.rexx
*/
Options results
parse arg line
loc = 1
ExpandCC '%50:'line'|'
Name = result
ExpandCC '%56:'line'|'
Address = result
If address = 'RESULT'|address = '' then address = 'Unknown'
ExpandCC '%151:'line'|'
baud = result
If Baud = '0' then Baud = 'Local'
If Baud = 'Local' & loc = 1 then exit
Open(stats,'doors:stats/stats.dat',R)
do i=1 to 10
Value.i= readln(stats)
end
close(stats)
do i = 10 to 2
j = i - 1
Value.i = value.j
end
Name= left(name, 19, " ")
CT = time(civil)
CT = left(ct, 12, " ")
baud = left(baud, 12, " ")
location = left(address, 24, " ")
entry = '
³
'name'
BBS
'ct''baud'
'location'
³'
Open(stats,'doors:stats/stats.dat',w)
writeln(stats,entry)
do i = 1 to 9
writeln(stats, value.i)
end
close(stats)
exit